package com.seashop.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 会员收益
 * </p>
 *
 * @author moredln
 * @since 2020-12-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MemberIncome对象", description="会员收益")
public class MemberIncome implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "国家代码")
    private String countryCode;

    @ApiModelProperty(value = "余额（可提现收益）")
    private BigDecimal extraIncome;

    @ApiModelProperty(value = "冻结金额（预期收益）")
    private BigDecimal freezeIncome;

    @ApiModelProperty(value = "历史累计金额")
    private BigDecimal historyIncome;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "提现冻结金额")
    private BigDecimal withdrawFreezeIncome;


}
